﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using View;

namespace FlowsManager.Problems
{
    class StatesConflictSituation : ProblematicSituation
    {
        /// <summary>
        /// Second state that causes this problematic situation (with state1)
        /// </summary>
        private VState state2;

        public VState State2
        {
            get
            {
                return this.state2;
            }
        }

        public StatesConflictSituation(VState _state1, VState _state2) : base(_state1)
        {
            this.state2 = _state2;
        }

        public override string Description
        {
            get
            {
                return "Two of the states conflict each other. These are: " + this.State.ToString() + " and " + this.State2.ToString();
            }
        }
    }
}
